package com.test;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties;

/**
 * @author hero
 */
@SpringBootApplication
public class SimpleDbApplication {

    /**
     * 日志输出器.
     */
    private static final Logger LOGGER = LoggerFactory.getLogger(SimpleDbApplication.class);

    public static void main(String[] args) {
        try {
            SpringApplication sa = new SpringApplication(SimpleDbApplication.class);
            sa.run(args);
        } catch (Exception e) {
            LOGGER.error("boot up fail :", e);
        }
    }
}
